<%@page import="Entity.Course"%>
<%@page import="Entity.Self_Booked_Page"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="Entity.User"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>机房信息</title>
   
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
	<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha512-SfTiTlX6kk+qitfevl/7LibUOeJWlt9rbyDn92a1DqWOw9vWG2MFoays0sgObmWazO5BQPiFucnnEAjpAB+/Sw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
	<link rel="shortcut icon" type="image/x-icon" href="logo.jpg" />
	<link rel="stylesheet" href="css/send.css" />
	<style type="text/css">
		a {
		text-decoration: none;
		}
		body {
	background-image: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
}
	</style>
  </head>
  
  <body >
  		
    	
    		<!-- 顶部-->
  	<div style="border: 1px;display: block;">
   			<image  src="img/title.png" style="width: 600px;">
   			<a href="personInfor.jsp" class="btn dropdown-toggle"  style="float: right;margin:auto 40px;">
   			<i class="fa fa-user-circle fa-2x"></i>
   			个人信息
	   		 </a>
   	</div>
	<!-- 导航-->
	<div style="float: left;width: 10%;height:90%; bottom:0;display: block;border-radius: 10px;
   		background-image: linear-gradient(to top,#accbee 0%, #e7f0fd 100%);">
   		<ul class="nav nav-pills nav-stacked">
			  <li><a href="RoomServlet"><img src="img/m_1.png" width="25px" style="margin-right: 5px;">机房信息</a></li>
			  <li><a href="SearchServlet?cpage=1">查询用户信息</a></li>
				  <li>
					<a type="button" class="btn " data-toggle="collapse" 
					    data-target="#demo" >
					     实验安排
					</a>    
					<div id="demo" class="collapse"  style="text-align: center;
						background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);">
					  <a class="btn " href="class_total.jsp" style="color: white;">课程日历</a>
					 <a class="btn " href="searchCourseServlet?page=1" style="color: white;">搜索课程</a>
					</div>
				  <li><a href="EventServlet?page=1">考试/竞赛</a></li>
				  <li class="active"><a href="sendmessage.jsp">发邮件</a></li>
				  
			</ul>
 	</div>
    		
<div style="padding-left: 20%;">
    		<form action="SendServlet">
  				<div style="padding-left: 5%;">
    				<label for="firstname" >收件人:</label>
    				<div >
      				<input type="text" class="form-control" name="user_id" placeholder="请输入" style="width:90%">
    				</div>
  				</div>
  				<div style="padding-left: 5%;">
    				<label for="firstname"  >主题:</label>
    				<div >
      				<input type="text" class="form-control" name="title" placeholder="请输入" style="width:90%">
    				</div>
  				</div>
  				<div style="padding-left: 5%;">
    				<label for="firstname" >主要内容:</label>
    				<div >
      				<textarea rows="4" style="height: 40%;" name="context"></textarea>
    				</div>
  				</div>
  				
  				
  			<p style="padding-left: 78%; padding-top: 2%;">
    		<button type="submit" class="btn btn-primary btn-lg "  >发送</button>
    		<button type="reset" class="btn btn-primary btn-lg ">取消</button>
    		</p>
  				
			</form>
			</div>
    	
  </body>
</html>
